<@cms.dictionaryList name=name pageIndex=pageNum pageSize=numPerPage>
<div class="pageHeader">
    <form class="pagerForm" autocomplete="off" onsubmit="return dialogSearch(this);" action="cmsDictionary/lookup.html" method="post">
        <#include "../include_page/parameters.html"/>
        <div class="searchBar">
            <ul class="searchContent">
                <li>
                    <li>
                        <label><@t.page 'name'/>:</label>
                        <input type="text" name="name" value="${name!}"/>
                    </li>
                </li>
            </ul>
            <div class="subBar">
                <ul>
                    <li>
                        <button type="button" class="button" onclick="$.bringBack({'${field!'dictionaryId'}':'','dictionaryName':''});return false;"><@t.page 'button.clear_select'/></button>
                        <button type="submit" class="buttonActive"><@t.page 'button.search'/></button>
                    </li>
                </ul>
            </div>
        </div>
    </form>
</div>
<div class="pageContent">
    <table class="table" width="100%" layoutH>
        <thead>
            <tr>
                <th><@t.page 'dictionary.select'/></th>
                <th><@t.page 'id'/></th>
                <th><@t.page 'name'/></th>
                <th><@t.page 'dictionary.childDepth'/></th>
            </tr>
        </thead>
        <tbody>
            <#list page.list as a>
            <tr>
                <td>
                    <a href="javascript:;" onclick="$.bringBack({'${field!'dictionaryId'}':'${a.id.id}','dictionaryName':'${(a.name?js_string)!}'});return false;"><i class="icon-ok icon-large"></i><@t.page 'select'/></a>
                </td>
                <td>${a.id.id}</td>
                <td class="exclude-translate">${a.name!}</td>
                <td>${a.childDepth}</td>
            </tr>
            </#list>
        </tbody>
    </table>
    <#include "../include_page/pageDialog.html"/>
</div>
</@cms.dictionaryList>